package com.HBNU.test;

public class one {

    public static void main(String[] args){

        person teacher = new Teacher();
        teacher.set_age(50);
        teacher.set_name("teacher");
        teacher.action();
        teacher.eat();



        person student = new Student();
        student.set_age(10);
        student.set_name("student");
        student.action();
        student.eat();

    }

}
